<?php
/**
 * Created by PhpStorm.
 * User: zd
 * Date: 2018/10/24
 * Time: 09:25
 */

namespace app\api\validate;


class MiniAuthParameter extends BaseValidate
{
    protected $rule=[
        'token'=>'require|isNotEmpty',
        'auth_code'=>'require|isNotEmpty',
        'expires_in'=>'require|isNotEmpty',
    ];

    protected $message=[
      'token'=>'token不能为空',
        'auth_code'=>'授权码不能为空',
        'expires_in'=>'过期时间不能为空'
    ];
}